<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"  xml:lang="fr" lang="fr">
<head>

	<title>ARTE HEADER</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	
	<link href="http://fonts.googleapis.com/css?family=Droid+Sans:400,700" rel="stylesheet" type="text/css" />
	<link href="../assets/css/reset.css" rel="stylesheet" type="text/css" />
	<link href="../assets/css/generator.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
    <script type="text/javascript" src="../assets/js/jquery.scrollto.js"></script>
    <script type="text/javascript" src="../assets/js/Tv_Arte_Generator.js"></script>
    <script type="text/javascript">/*<![CDATA[*/Tv_Arte_Generator.initialize();/*]]>*/</script>
</head>
<body>

<?php
require_once('../autoload.php');
try {
    $_GET['siteType'] = isset($_GET['siteType']) ? $_GET['siteType'] : Tv_Arte_Header::ARTE_TV;
    $header = Tv_Arte_Header::getInstance($_GET);
    $view = new Tv_Arte_View();
	$view->assign('header', $header);
} catch (Tv_Arte_Header_Exception $e) {
	print $e->getMessage();
}
echo $view->render('../tpl/generator-index.php');
?>
	
</body>
</html>